package com.guge.sports.service;

import com.guge.sports.entity.Dto.Option;
import com.guge.sports.entity.Dto.StSchoolDto;
import com.guge.sports.entity.StSchool;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guge.sports.toolPackage.utils.MyPager;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-09-14
 */
public interface StSchoolService{


    List<Option> getSchoolNameAndDidList();

    MyPager<StSchoolDto> getSchoolMessageList(MyPager<StSchoolDto> myPager,StSchoolDto stSchoolDto);

    void AddSchool(StSchoolDto stSchoolDto);

    void DeleteSchool(Long id);

    StSchoolDto SelectById(Long id);

    void UpdateById(StSchoolDto stSchoolDto);

    List<Option> SelectArearsList();
}


